package com.suse.ecommerce.service;



import com.suse.ecommerce.pojo.Seckill;
import com.suse.ecommerce.pojo.SeckillOrder;

import java.util.List;

public interface SeckillService {


    //查询秒杀的商品，根据开始时间来查询
    public List<Seckill> querySekillByTime(Integer timeId);

    Seckill querySeckillById(long seckillId);

    //下单，秒杀
    public SeckillOrder seckillConfrim(long seckillId, Integer userId, long addressId);


}
